#
# Be sure to run `pod lib lint irtc-sdk-pod.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'irtc-sdk-pod'
  s.version          = '4.4.29'
  s.summary          = 'A short description of irtc-sdk-pod.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://github.com/fuli.niu/irtc-sdk-pod'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'fuli.niu' => 'fuli.niu@zealcomm.cn' }
  s.source           = { :git => 'git@bitbucket.org:zealcomm/irtc-sdk-pod.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '11.0'
  
  s.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 armv7 arm64' }

  s.source_files = 'irtc-sdk-pod/Classes/**/*'
  
  # 子库
  s.subspec 'IRTC' do |irtc|
    irtc.vendored_frameworks = ['IRTC.framework']
    #    ss.resources = 'legolas_sdk/JDJR_Legolas.bundle'
    #    ss.frameworks = 'Security','WebKit'
  end
  
#  # 子库
#  s.subspec 'IVCS' do |ivcs|
#    ivcs.vendored_frameworks = ['IVCS.framework']
#    #    ss.resources = 'legolas_sdk/JDJR_Legolas.bundle'
#    #    ss.frameworks = 'Security','WebKit'
#  end
#  
#  # 子库
#  s.subspec 'IvcsClientSdk' do |ivcsClientSdk|
#    ivcsClientSdk.vendored_frameworks = ['IvcsClientSdk.framework']
#    #    ss.resources = 'legolas_sdk/JDJR_Legolas.bundle'
#    #    ss.frameworks = 'Security','WebKit'
#  end
  
  # s.resource_bundles = {
  #   'irtc-sdk-pod' => ['irtc-sdk-pod/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
#   s.frameworks = 'UIKit', 'MapKit'
#   s.dependency 'AFNetworking', '~> 2.3'
#  s.resources = [
#  'FM/CXKeyBoardRes.bundle',
#  'FM/MGIDCardResource.bundle'
#  ]
end
